<?php
class Profile extends AppModel {
	public $name = 'Profile';
	public 	$useTable  = 'profiles';
	
	function getProfileByHeroId($id){
		return $this->find('first',array(
			'conditions' => array(
				'hero_id' => $id
			)
		));
	}
}
?>